package main;

import java.text.ParseException;
import org.apache.log4j.PropertyConfigurator;
import org.quartz.SchedulerException;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author bighead
 */
public class main {

    public static void main(String[] args) throws SchedulerException, ParseException {
        initProperties();

//        CronExample.testJobNoDataMap();
//        CronExample.testJobWithDataMap();
//
//        SimpleExample.testJobNoDataMap();
//        SimpleExample.testJobWithDataMap();
//        SimpleExample.testJobWithCalendar();
//        SimpleExample.testJobListener();
        SimpleExample.testTriggerListener();
    }

    private static void initProperties() {
        PropertyConfigurator.configure("log4j.properties");
        PropertyConfigurator.configure("quartz.properties");
    }

}
